/**
 * this is the main method for test 
 * it will initial the sub_test class 
 * to find out the answer is right or not 
 */
package charles.testproject.main;

import java.sql.Timestamp;
import java.util.Vector;
import java.util.regex.Pattern;
import java.io.File;

import charles.testproject.*;


public class TestMainMethod {
    
	public static void main(String[] args) {
//	    String name = "charles@ims.nsn.com";
//	    String type = "sip";
//	    String displayName = "charles";
//	    System.out.println("<entry uri=\"" + name + "\" type=\"" + type + "\"><display-name>" + displayName + "</display-name></entry>");
		
		//test timestamp
//		String timestampStr1 = "2009-10-30 10:42:46.888";
//		String timestampStr2 = "2009-10-30 10:42:46.726";
//		
//		Timestamp timestamp1 = Timestamp.valueOf(timestampStr1);
//		Timestamp timestamp2 = Timestamp.valueOf(timestampStr2);
//		System.out.println(timestamp1.after(timestamp2));
		
		//test hashcode()
//		Object o = new Object();
//		Object p = new Object();
//		System.out.println("O's hashcode = " + o.hashCode());
//		System.out.println("p's hashcode = " + p.hashCode());
		
//		String s1 = new String("abc");
//		String s2 = new String("abc");
//		System.out.println("S1's hashcode = " + s1.hashCode());
//		System.out.println("S2's hashcode = " + s2.hashCode());

	}
	
}
